<template>
  <div class="nihao">
    <div class="center">
      <div class="mytop">
        <ul>
          <li>
            <span>我的订单</span>
          </li>
        </ul>
      </div>

      <u class="top2">
        <li>
          ·
          海关安检日趋严格，即日起，如选择EMS提交的运单，将不局限于使用EMS发送。
        </li>
      </u>

      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="全部" name="first">
          <div class="wujilu">
          <span>暂无记录</span><br>
          <img src="../../public/wujilu.png" alt="">
          </div>
        </el-tab-pane>
        <el-tab-pane label="已提交" name="second">
          <div class="wujilu">
          <span>暂无记录</span><br>
          <img src="../../public/wujilu.png" alt="">
          </div>
        </el-tab-pane>
        <el-tab-pane label="待入库" name="third">
          <div class="wujilu">
          <span>暂无记录</span><br>
          <img src="../../public/wujilu.png" alt="">
          </div>
        </el-tab-pane>
        <el-tab-pane label="已到Panli" name="fourth">
          <div class="wujilu">
          <span>暂无记录</span><br>
          <img src="../../public/wujilu.png" alt="">
          </div>
        </el-tab-pane>
        <el-tab-pane label="待收货" name="fifth">
          <div class="wujilu">
          <span>暂无记录</span><br>
          <img src="../../public/wujilu.png" alt="">
          </div>
        </el-tab-pane>
        <el-tab-pane label="已完成" name="sixth">
          <div class="wujilu">
          <span>暂无记录</span><br>
          <img src="../../public/wujilu.png" alt="">
          </div>
        </el-tab-pane>
        <el-tab-pane label="问题订单" name="seventh">
          <div class="wujilu">
          <span>暂无记录</span><br>
          <img src="../../public/wujilu.png" alt="">
          </div>
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      activeName: "first",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style lang="scss" scoped>
.wujilu{
width: 960px;
 padding: 100px 0;
text-align: center;
}

.center {
  padding: 10px 20px 20px;
  margin: 0 auto;
  width: 960px;
  height: 540px;
  border-radius: 50px;
  background-color: white;
}
.mytop {
  border-bottom: 1px solid #e1e1e1;
  // font-size: 0;
  > ul {
    display: inline-block;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    > li {
      position: relative;
      float: left;
      height: 42px;
      line-height: 39px;
      text-align: center;
      font-size: 18px;
      font-weight: 700;
      cursor: pointer;
      > span {
        color: #ff6e6e;
        border-bottom: 3px solid #ff6e6e;
        display: block;
        padding: 0 20px;
        text-decoration: none;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 39px;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
      }
    }
  }
}
.top2 {
  list-style: none;
  border-bottom: none;
  display: inline-block;
  width: 884px;
  height: 15px;
  line-height: 15px;
  background-color: #ffe9e9;
  text-decoration: none;
  color: #666666;
  font-size: 12px;
  margin: 20px 0 0;
  padding: 18px;
}

.el-tabs__item {
  color: red;
}
</style>

<style >
.el-tabs__nav .el-tabs__item:hover {
  color: #ff6e85;
}
.el-tabs__item.is-active {
  color: #ff6e85;
}
.el-tabs__item.is-left:hover {
  color: #ff6e85;
}
.el-tabs__item {
  font-size: 16px;
}
.el-tabs__active-bar{
  background-color: #ff6e85;
}
</style>